using System;

namespace CQRS.General
{
    public interface IMessageRouter
    {
        void Route(object message);
        void Register<TMessage>(Action<TMessage> route) where TMessage : class;
    }
}